package com.jz.netthings.netty.protocol.bean;

import com.jz.netthings.netty.protocol.BasePacket;
import io.netty.channel.ChannelHandlerContext;
import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

/**
 * 单采机上传的xml文件数据bean
 */
@Data
public class ZxdcMsgPacket extends BasePacket  implements Serializable {

    private String seq;
    private String cmd;
    private String responseFromCmd;
    private int level;
    private String param;
    private HashMap<String, Object> values;
    private long timeout;
    private boolean hasResponse;
    private boolean concurrent;
    private String relayAp;
    private String relayOrg;
    private List<HashMap<String, Object>> taskList;

    /**
     * 发送消息的处理器上下文对象(不需要被序列化)
     */
    private transient ChannelHandlerContext ctx;

}
